<!DOCTYPE html>
<script src="../../resources/check-layout.js"></script>
<table>
    <td style='height: -webkit-fit-content;' data-expected-height=22>
        <div style="height: 20px; width: 20px"></div>
    </td>
</table>
<div id="test-output"></div>
<p> crbug.com/478279: Let instrinsic height stylings work for cells. </p>
<script>
    window.checkLayout("td", document.getElementById("test-output"));
</script>
